package net.ziyoushu.demo1.config;

import net.ziyoushu.demo1.annotation.RocketMqTopic;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

@Configuration
@ComponentScan(basePackages = {"net.ziyoushu.demo1"},
        useDefaultFilters = false,
        includeFilters = {
            @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = {RocketMqTopic.class})
        }
)
public class ScanRockerMqConsumerConfig {
}